/**
 * 映射关系
 */

export function fetchConstellationDate(name) {
  const mapObj = {
    "白羊座": "3.21～4.20",
    "金牛座": "4.21～5.21",
    "双子座": "5.22～6.21",
    "巨蟹座": "6.22～7.22",
    "狮子座": "7.23～8.23",
    "处女座": "8.24～9.23",
    "天秤座": "9.24～10.23",
    "天蝎座": "10.24～11.22",
    "射手座": "11.23～12.21",
    "摩羯座": "12.22～1.20",
    "水瓶座": "1.21～2.19",
    "双鱼座": "2.20～3.20",
  }
  return mapObj[name]
}

/**
 * 
 */

export function fetchConstellationAvater(name) {
  const mapObj = {
    "白羊座": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F201703%2F23%2F20170323170903_McrnJ.thumb.400_0.jpeg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1641832996&t=9f2deed28589b433530c27ad269c3676",
    "金牛座": "https://5b0988e595225.cdn.sohucs.com/q_70,c_zoom,w_640/images/20180426/edb67badf7ab43a3bd76c82a452bf413.webp",
    "双子座": "https://5b0988e595225.cdn.sohucs.com/q_70,c_zoom,w_640/images/20180519/8a449875aaa942789e1d26369fdb4c2e.webp",
    "巨蟹座": "http://img.mp.itc.cn/upload/20170622/acb19a914f8d49f382570c323b904f45_th.jpg",
    "狮子座": "https://img.mp.itc.cn/q_70,c_zoom,w_640/upload/20170723/68cfdd1ff1764146a13316a42de3fdf2_th.webp",
    "处女座": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fhbimg.b0.upaiyun.com%2Fc3299400561908ae8a1f059fdb98a9cf9d203b9541d0-DfPVUb_fw658&refer=http%3A%2F%2Fhbimg.b0.upaiyun.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1641832835&t=bcce1fbe853f0f28e0055788d4fbaa5b",
    "天秤座": "https://5b0988e595225.cdn.sohucs.com/q_70,c_zoom,w_640/images/20170920/24caf1c8f40d4b18bb88318cc9125592.webp",
    "天蝎座": "https://5b0988e595225.cdn.sohucs.com/q_70,c_zoom,w_640/images/20171023/2b7f22dbddf64a4eb7821de25fcbcb44.webp",
    "射手座": "https://5b0988e595225.cdn.sohucs.com/q_70,c_zoom,w_640/images/20171122/c1ebcd689ae84e08b071348597382a61.webp",
    "摩羯座": "https://5b0988e595225.cdn.sohucs.com/q_70,c_zoom,w_640/images/20171222/19b3f896a72b4952acc374ad4e668bc9.webp",
    "水瓶座": "https://5b0988e595225.cdn.sohucs.com/q_70,c_zoom,w_640/images/20180119/63b9d3704ad5405bb2cbe459b27d0195.webp",
    "双鱼座": "https://c-ssl.duitang.com/uploads/item/201702/21/20170221223808_kLMxu.jpeg",
  }
  return mapObj[name]
}